package com.macro.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @author Administrator
 * @date 2020/6/23
 * @since
 */
@Getter
@Setter
public class UpdateAdminPasswordParam {
	@ApiModelProperty(value = "用户名", required = true)
	@NotEmpty(message = "用户名不能为空")
	private String username;
	@ApiModelProperty(value = "旧密码", required = true)
	@NotEmpty(message = "旧密码不能为空")
	private String oldPassword;
	@ApiModelProperty(value = "新密码", required = true)
	@NotEmpty(message = "新密码不能为空")
	private String newPassword;
}
